/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.cmti.skeleton.dto;

import com.cmti.skeleton.entity.SysRole;

/**
 *
 * @author Danny Lee
 */
public class SysRoleDto extends SysRole {

    private String rightIds;    // 保存时前台传过来的权限id，逗号分隔
    private Integer status;     // 覆盖SysRole中的属性，因为SysRole中的该属性有默认值，会影响查询
    private String[] roleId;
    
    private int page = 1; //当前页,名字必须为page
    private int rows = 10; //每页大小,名字必须为rows
    private String sort; //排序字段
    private String order; //排序规则

    /**
     * Get the value of status
     *
     * @return the value of status
     */
    @Override
    public Integer getStatus() {
        return status;
    }

    /**
     * Set the value of status
     *
     * @param status new value of status
     */
    @Override
    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getRightIds() {
        return rightIds;
    }

    public void setRightIds(String rightIds) {
        this.rightIds = rightIds;
    }

    /**
     * @return the roleId
     */
    public String[] getRoleId() {
        return roleId;
    }

    /**
     * @param roleId the roleId to set
     */
    public void setRoleId(String[] roleId) {
        this.roleId = roleId;
    }
    
        /**
     * @return the page
     */
    public int getPage() {
        return page;
    }

    /**
     * @param page the page to set
     */
    public void setPage(int page) {
        this.page = page;
    }

    /**
     * @return the rows
     */
    public int getRows() {
        return rows;
    }

    /**
     * @param rows the rows to set
     */
    public void setRows(int rows) {
        this.rows = rows;
    }

    /**
     * @return the sort
     */
    public String getSort() {
        return sort;
    }

    /**
     * @param sort the sort to set
     */
    public void setSort(String sort) {
        this.sort = sort;
    }

    /**
     * @return the order
     */
    public String getOrder() {
        return order;
    }

    /**
     * @param order the order to set
     */
    public void setOrder(String order) {
        this.order = order;
    }
}
